/* 这是用户注册登录路由模块 */

const express = require('express')
const router = express.Router()
const verifyHandler = require('../../router_handler/module5/verify.js')

router.get('/module5/verify/isVip/:ID', verifyHandler.isVip)
router.get('/module5/verify/isBusinessmen/:ID', verifyHandler.isBusinessmen)
router.get('/module5/verify/isBlacklists/:ID', verifyHandler.isBlacklist)
router.get('/module5/verify/isInspector/:ID', verifyHandler.isInspector)
router.get('/module5/verify/isAdministrator/:ID', verifyHandler.isAdministrator)

router.get('/module5/verify/pay/:No/:Password/:Balance', verifyHandler.bankPay)
router.get('/module5/verify/recharge/:No/:Balance', verifyHandler.bankRecharge)

router.get('/module5/verify/realName/:IC/:RealName', verifyHandler.realNameVerify)

router.get('/module5/get/BankCard/:No', verifyHandler.getBankCard)

router.get('/module5/get/PrepaidCard/:No', verifyHandler.GetPrePaidCard)



router.get('/module5/drop/BankCard/:No', verifyHandler.DropBankCard)
router.get('/module5/drop/ICDatabase/:IC', verifyHandler.DropICDatabase)
router.get('/module5/drop/PrepaidCard/:No', verifyHandler.DropPrePaidCard)


router.get('/module5/insert/BankCard/:No/:Password/:Balance',verifyHandler.insertBankCard)
router.get('/module5/insert/ICDatabase/:IC/:RealName',verifyHandler.insertIC)
router.get('/module5/insert/PrePaidCard/:CardNo/:Balance',verifyHandler.insertPrepaid)

router.get('/module5/getall/BankCard',verifyHandler.getAllBankCard)
router.get('/module5/getall/IC',verifyHandler.getAllIC)
router.get('/module5/getall/PrePaidCard',verifyHandler.getAllPrePaid)
module.exports = router